home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UNIXTOOL / M4SRC / _files / _M4 / _Mac / Patch < prev    next >
Encoding:
Text File  |  1989-10-10  |  1.4 KB  |  54 lines

  1. To: comp-sources-unix@uunet.uu.net
  2. From: Ozan Yigit <yunexus!oz@uunet.uu.net>
  3. Newsgroups: comp.sources.unix
  4. Subject: Patch #1 for Public Domain M4 (#38-39)
  5. Date: 1 Feb 88 16:15:24 GMT
  6. Reply-To: Ozan Yigit <yunexus!oz@uunet.uu.net>
  7. Organization: York U. Computing Services - Magic Group
  8.  
  9.  
  10. This patch fixes a bug introduced apparently just before the posting of
  11. m4.  Due to this bug, quote handling became retarded in some circumstances.
  12.  
  13. Go to the source directory of m4, and feed the following to the patch program.
  14.  
  15. Index: patchlevel.h
  16. *** /dev/null    Mon Feb  1 11:01:04 1988
  17. --- patchlevel.h    Mon Feb  1 11:03:08 1988
  18. ***************
  19. *** 0 ****
  20. --- 1 ----
  21. + #define PATCHLEVEL 1
  22.  
  23. Index: main.c
  24. *** main.c    Mon Feb  1 10:38:16 1988
  25. --- main.new.c    Sat Jan 30 13:54:36 1988
  26. ***************
  27. *** 315,322 ****
  28.                       nlpar++;
  29.                   else if (l == EOF)
  30.                       error("m4: missing right quote");
  31. !                 if (nlpar > 0)
  32. !                     chrsave(l);
  33.               }
  34.               while (nlpar != 0);
  35.           }
  36. --- 315,326 ----
  37.                       nlpar++;
  38.                   else if (l == EOF)
  39.                       error("m4: missing right quote");
  40. !                 if (nlpar > 0) {
  41. !                     if (sp < 0)
  42. !                         putc(l, active);
  43. !                     else
  44. !                         chrsave(l);
  45. !                 }
  46.               }
  47.               while (nlpar != 0);
  48.           }
  49. -- 
  50. Those who lose the sight         Usenet: [decvax|ihnp4]!utzoo!yunexus!oz
  51. of what is really important                  ......!seismo!mnetor!yunexus!oz
  52. are destined to become              Bitnet: oz@[yusol|yulibra|yuyetti]
  53. irrelevant.        - anon         Phonet: +1 416 736-5257 x 3976
  54.